package com.aier.user.entity.userapp;

import java.sql.Timestamp;

@SuppressWarnings("serial")
public class CaiPuComment implements java.io.Serializable {

    private Long ccid;        //主键
    private Long cp_id;        //菜谱id
    private Long uid;        //用户id
    private String comment;    //评论内容
    private Timestamp cdate;//评论时间
    //扩展
    private String realname;//用户名
    
    public CaiPuComment() {
        super();
    }
    
    public CaiPuComment(Long ccid, Long cp_id, Long uid, String comment,
            Timestamp cdate) {
        super();
        this.ccid = ccid;
        this.cp_id = cp_id;
        this.uid = uid;
        this.comment = comment;
        this.cdate = cdate;
    }
    public Long getCcid() {
        return ccid;
    }
    public void setCcid(Long ccid) {
        this.ccid = ccid;
    }
    public Long getCp_id() {
        return cp_id;
    }
    public void setCp_id(Long cp_id) {
        this.cp_id = cp_id;
    }
    public Long getUid() {
        return uid;
    }
    public void setUid(Long uid) {
        this.uid = uid;
    }
    public String getComment() {
        return comment;
    }
    public void setComment(String comment) {
        this.comment = comment;
    }
    public Timestamp getCdate() {
        return cdate;
    }
    public void setCdate(Timestamp cdate) {
        this.cdate = cdate;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }
    
    


}
